#pragma once

class CSetting :
	public ISetting
{
private:
	CIniFile ini;
	CString sSection;
	
public:
	CSetting(LPCTSTR sSection);
public:
	~CSetting(void);

	virtual int GetInt(LPCTSTR sKey, int iDefault);
	virtual BOOL SetInt(LPCTSTR sKey, int iValue);

	virtual int GetString(LPCTSTR sKey, CString* cRet, LPCTSTR sDefault);
	virtual int SetString(LPCTSTR sKey, LPCTSTR sValue);
};
